import {SAVE_STAGES, SAVE_SCAN_CHANNEL, SAVE_JUMP_RUN, SAVE_PCR_ALL_CYCLE,SAVE_PCR_RUN_ALL_CYCLE, SAVE_MELT_GRAD} from "./constants";

export const saveStages = stages => ({
  type: SAVE_STAGES,
  stages
});

export const saveScanChannel = scanChannel => ({
  type: SAVE_SCAN_CHANNEL,
  scanChannel
});

export const saveJump2Run = isJump2Run => ({
  type: SAVE_JUMP_RUN,
  isJump2Run
});

export const savePcrAllCycle = pcrAllCycle => ({
  type: SAVE_PCR_ALL_CYCLE,
  pcrAllCycle
});

export const savePcrAllRunCycle = pcrAllRunCycle => ({
  type: SAVE_PCR_RUN_ALL_CYCLE,
  pcrAllRunCycle
});

export const saveMeltGrad = meltGrad => ({
  type: SAVE_MELT_GRAD,
  meltGrad
});